@ECHO OFF
color 2f
title IE一键设置脚本，请允许运行

echo 请求管理员权限，请于弹出窗口选择“是”，若无弹出窗口则请查看任务栏是否有闪动图标，单击后允许即可。

>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
exit /B
:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0"




echo 添加信任站点

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\yaic.com.cn" /v "*" /t reg_dword /d 0x00000002 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\yaic.com.cn" /v "https" /t reg_dword /d 0x00000002 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range1" /v "*" /t reg_dword /d 0x00000002 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range1" /v ":Range" /t reg_sz /d 10.*.*.* /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range1" /v "https" /t reg_dword /d 0x00000002 /f

   


echo 进行信任站点相关设置

REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1001" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1004" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1200" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1201" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1206" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1207" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1208" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1209" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "120A" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "120B" /t reg_dword /d 0x00000003 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1607" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1400" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1402" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1405" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1406" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1407" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1408" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1409" /t reg_dword /d 0x00000003 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140A" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1601" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1604" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1605" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1606" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1607" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1608" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1609" /t reg_dword /d 0x00000001 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "160A" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "160B" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1800" /t reg_dword /d 0x00000001 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1802" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1803" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1804" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1805" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1806" /t reg_dword /d 0x00000001 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1809" /t reg_dword /d 0x00000003 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1812" /t reg_dword /d 0x00000003 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1A00" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1A02" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1A03" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1A04" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1A05" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1A06" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1A10" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1C00" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1E05" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2000" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2001" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2004" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2005" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2007" /t reg_dword /d 0x00010000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2100" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2101" /t reg_dword /d 0x00000001 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2102" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2103" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2104" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2105" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2106" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2107" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2108" /t reg_dword /d 0x00000003 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2200" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2201" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2300" /t reg_dword /d 0x00000001 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2301" /t reg_dword /d 0x00000003 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2302" /t reg_dword /d 0x00000003 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2400" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2401" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2402" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2500" /t reg_dword /d 0x00000003 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2600" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2700" /t reg_dword /d 0x00000003 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2701" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2702" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2703" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2704" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2705" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2707" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2708" /t reg_dword /d 0x00000003 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2709" /t reg_dword /d 0x00000003 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "270B" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "270C" /t reg_dword /d 0x00000000 /f
REG add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "270D" /t reg_dword /d 0x00000000 /f




echo 解决域桌面白屏问题

REG add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\SafeMode\Components" /v "DeskHtmlVersion" /t reg_dword /d 0x00000000 /f


echo 解决不能更改域密码

REG add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NetBT\Parameters" /v "SMBDeviceEnabled" /t reg_dword /d 0x00000001 /f

echo 添加新证书以解决无法连接无线

> "%Temp%.\DefOpen.reg" ECHO Windows Registry Editor Version 5.00
>>"%Temp%.\DefOpen.reg" ECHO.
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\ROOT\Certificates\9E3C2667ACAD85F9F463300DD1A809BCE9AD0302]
>>"%Temp%.\DefOpen.reg" ECHO "Blob"=hex:04,00,00,00,01,00,00,00,10,00,00,00,13,98,dd,ef,d8,47,7b,5f,52,53,\
>>"%Temp%.\DefOpen.reg" ECHO 35,e0,5c,12,43,2b,0f,00,00,00,01,00,00,00,14,00,00,00,1a,75,e3,be,4f,ab,85,\
>>"%Temp%.\DefOpen.reg" ECHO 35,09,2d,3f,1a,d8,28,ec,ed,1a,5d,aa,4f,14,00,00,00,01,00,00,00,14,00,00,00,\
>>"%Temp%.\DefOpen.reg" ECHO 30,cd,ac,3e,a1,12,0b,a2,78,6c,e6,4d,5c,c3,d8,63,46,5f,81,1b,19,00,00,00,01,\
>>"%Temp%.\DefOpen.reg" ECHO 00,00,00,10,00,00,00,f4,5e,b0,b0,e7,1b,ab,e8,a4,0f,0a,52,c6,2a,ec,30,03,00,\
>>"%Temp%.\DefOpen.reg" ECHO 00,00,01,00,00,00,14,00,00,00,9e,3c,26,67,ac,ad,85,f9,f4,63,30,0d,d1,a8,09,\
>>"%Temp%.\DefOpen.reg" ECHO bc,e9,ad,03,02,5c,00,00,00,01,00,00,00,04,00,00,00,00,04,00,00,20,00,00,00,\
>>"%Temp%.\DefOpen.reg" ECHO 01,00,00,00,b5,02,00,00,30,82,02,b1,30,82,02,1a,a0,03,02,01,02,02,10,1e,de,\
>>"%Temp%.\DefOpen.reg" ECHO 1e,9c,32,32,b2,b9,4e,25,f2,a1,cd,0b,bd,e4,30,0d,06,09,2a,86,48,86,f7,0d,01,\
>>"%Temp%.\DefOpen.reg" ECHO 01,05,05,00,30,5a,31,12,30,10,06,0a,09,92,26,89,93,f2,2c,64,01,19,16,02,63,\
>>"%Temp%.\DefOpen.reg" ECHO 6e,31,13,30,11,06,0a,09,92,26,89,93,f2,2c,64,01,19,16,03,63,6f,6d,31,14,30,\
>>"%Temp%.\DefOpen.reg" ECHO 12,06,0a,09,92,26,89,93,f2,2c,64,01,19,16,04,79,61,69,63,31,19,30,17,06,03,\
>>"%Temp%.\DefOpen.reg" ECHO 55,04,03,13,10,79,61,69,63,2d,59,41,49,43,44,43,30,31,2d,43,41,30,1e,17,0d,\
>>"%Temp%.\DefOpen.reg" ECHO 31,38,30,35,33,31,30,37,32,30,32,39,5a,17,0d,32,33,30,35,33,31,30,37,33,30,\
>>"%Temp%.\DefOpen.reg" ECHO 32,37,5a,30,5a,31,12,30,10,06,0a,09,92,26,89,93,f2,2c,64,01,19,16,02,63,6e,\
>>"%Temp%.\DefOpen.reg" ECHO 31,13,30,11,06,0a,09,92,26,89,93,f2,2c,64,01,19,16,03,63,6f,6d,31,14,30,12,\
>>"%Temp%.\DefOpen.reg" ECHO 06,0a,09,92,26,89,93,f2,2c,64,01,19,16,04,79,61,69,63,31,19,30,17,06,03,55,\
>>"%Temp%.\DefOpen.reg" ECHO 04,03,13,10,79,61,69,63,2d,59,41,49,43,44,43,30,31,2d,43,41,30,81,9f,30,0d,\
>>"%Temp%.\DefOpen.reg" ECHO 06,09,2a,86,48,86,f7,0d,01,01,01,05,00,03,81,8d,00,30,81,89,02,81,81,00,a5,\
>>"%Temp%.\DefOpen.reg" ECHO 2f,78,03,dc,fd,7e,f4,e5,2c,89,02,b6,16,3d,ef,01,e7,15,50,57,63,8b,d8,74,f7,\
>>"%Temp%.\DefOpen.reg" ECHO ac,01,4d,90,92,6b,3b,8a,08,6d,fb,76,4e,fc,48,27,cc,0b,c1,3c,44,64,90,2f,d1,\
>>"%Temp%.\DefOpen.reg" ECHO 32,6a,24,d8,23,39,d0,b5,64,18,5d,ab,d9,9c,36,87,f2,b9,fe,7b,d6,e0,41,a2,3b,\
>>"%Temp%.\DefOpen.reg" ECHO 0c,d2,a2,d6,0e,db,b3,54,20,f3,32,48,5d,66,2f,8a,16,e0,98,ed,ee,78,0a,99,6f,\
>>"%Temp%.\DefOpen.reg" ECHO d7,06,5b,03,50,7c,5e,c4,2f,51,ad,91,3a,08,e7,63,ba,90,4c,9d,ba,7a,5e,96,df,\
>>"%Temp%.\DefOpen.reg" ECHO ce,e7,02,03,01,00,01,a3,78,30,76,30,0b,06,03,55,1d,0f,04,04,03,02,01,86,30,\
>>"%Temp%.\DefOpen.reg" ECHO 0f,06,03,55,1d,13,01,01,ff,04,05,30,03,01,01,ff,30,1d,06,03,55,1d,0e,04,16,\
>>"%Temp%.\DefOpen.reg" ECHO 04,14,30,cd,ac,3e,a1,12,0b,a2,78,6c,e6,4d,5c,c3,d8,63,46,5f,81,1b,30,12,06,\
>>"%Temp%.\DefOpen.reg" ECHO 09,2b,06,01,04,01,82,37,15,01,04,05,02,03,01,00,01,30,23,06,09,2b,06,01,04,\
>>"%Temp%.\DefOpen.reg" ECHO 01,82,37,15,02,04,16,04,14,c1,a5,6d,5a,b9,04,3f,6c,0c,11,84,1d,94,08,55,e9,\
>>"%Temp%.\DefOpen.reg" ECHO f9,52,3b,04,30,0d,06,09,2a,86,48,86,f7,0d,01,01,05,05,00,03,81,81,00,29,f8,\
>>"%Temp%.\DefOpen.reg" ECHO cd,29,3e,42,af,ce,cc,97,9f,83,6d,b1,ec,bd,90,70,16,b1,b8,50,b1,83,76,89,1f,\
>>"%Temp%.\DefOpen.reg" ECHO d2,25,8c,f7,19,31,f4,5f,f9,fe,cc,92,8c,7f,1d,2e,87,38,17,65,02,cd,15,43,7e,\
>>"%Temp%.\DefOpen.reg" ECHO a9,72,67,d0,3d,af,5f,fd,3f,1b,dd,6d,7e,b0,5a,b7,9f,ba,b9,00,52,0f,aa,f8,6d,\
>>"%Temp%.\DefOpen.reg" ECHO 54,51,c2,b7,24,f6,99,03,1b,11,52,cf,92,4a,b3,d3,82,cc,05,95,5d,7d,02,46,0c,\
>>"%Temp%.\DefOpen.reg" ECHO 56,37,72,1c,84,bc,59,19,15,8b,fa,da,b4,ea,46,c2,25,1a,7b,cd,44,17,04,24,c4,\
>>"%Temp%.\DefOpen.reg" ECHO eb
>>"%Temp%.\DefOpen.reg" ECHO.
START /WAIT REGEDIT /S "%Temp%.\DefOpen.reg"
START /WAIT REGEDIT /S "%Temp%.\DefOpen.reg"
DEL "%Temp%.\DefOpen.reg"


echo 兼容性站点设置

> "%Temp%.\DefOpen.reg" ECHO Windows Registry Editor Version 5.00
>>"%Temp%.\DefOpen.reg" ECHO.
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation]
>>"%Temp%.\DefOpen.reg" ECHO "IntranetCompatibilityMode"=dword:00000001
>>"%Temp%.\DefOpen.reg" ECHO "MSCompatibilityMode"=dword:00000001
>>"%Temp%.\DefOpen.reg" ECHO.
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData]
>>"%Temp%.\DefOpen.reg" ECHO "UserFilter"=hex:41,1f,00,00,53,08,ad,ba,11,00,00,00,ac,02,00,00,01,00,00,00,\
>>"%Temp%.\DefOpen.reg" ECHO   11,00,00,00,0c,00,00,00,48,ab,3c,6c,a3,ab,d3,01,01,00,00,00,0b,00,79,00,61,\
>>"%Temp%.\DefOpen.reg" ECHO 00,69,00,63,00,2e,00,63,00,6f,00,6d,00,2e,00,63,00,6e,00,0c,00,00,00,50,07,\
>>"%Temp%.\DefOpen.reg" ECHO 4f,7b,a3,ab,d3,01,01,00,00,00,0a,00,31,00,30,00,2e,00,30,00,2e,00,36,00,36,\
>>"%Temp%.\DefOpen.reg" ECHO 00,2e,00,39,00,39,00,0c,00,00,00,7d,af,e1,7f,a3,ab,d3,01,01,00,00,00,0a,00,\
>>"%Temp%.\DefOpen.reg" ECHO 31,00,30,00,2e,00,30,00,2e,00,36,00,38,00,2e,00,39,00,39,00,0c,00,00,00,5e,\
>>"%Temp%.\DefOpen.reg" ECHO de,03,87,a3,ab,d3,01,01,00,00,00,0b,00,31,00,30,00,2e,00,30,00,2e,00,36,00,\
>>"%Temp%.\DefOpen.reg" ECHO 39,00,2e,00,31,00,30,00,31,00,0c,00,00,00,91,ee,e0,8a,a3,ab,d3,01,01,00,00,\
>>"%Temp%.\DefOpen.reg" ECHO  00,0b,00,31,00,30,00,2e,00,30,00,2e,00,36,00,39,00,2e,00,31,00,30,00,32,00,\
>>"%Temp%.\DefOpen.reg" ECHO 0c,00,00,00,0c,37,db,93,a3,ab,d3,01,01,00,00,00,0b,00,31,00,30,00,2e,00,30,\
>>"%Temp%.\DefOpen.reg" ECHO 00,2e,00,36,00,39,00,2e,00,31,00,30,00,33,00,0c,00,00,00,c7,c7,16,97,a3,ab,\
>>"%Temp%.\DefOpen.reg" ECHO d3,01,01,00,00,00,0b,00,31,00,30,00,2e,00,30,00,2e,00,36,00,39,00,2e,00,31,\
>>"%Temp%.\DefOpen.reg" ECHO 00,30,00,34,00,0c,00,00,00,dd,74,8f,9a,a3,ab,d3,01,01,00,00,00,0b,00,31,00,\
>>"%Temp%.\DefOpen.reg" ECHO  30,00,2e,00,30,00,2e,00,36,00,39,00,2e,00,31,00,30,00,35,00,0c,00,00,00,81,\
>>"%Temp%.\DefOpen.reg" ECHO 5f,0e,9e,a3,ab,d3,01,01,00,00,00,0b,00,31,00,30,00,2e,00,30,00,2e,00,36,00,\
>>"%Temp%.\DefOpen.reg" ECHO 39,00,2e,00,31,00,30,00,36,00,0c,00,00,00,23,56,25,a1,a3,ab,d3,01,01,00,00,\
>>"%Temp%.\DefOpen.reg" ECHO 00,0b,00,31,00,30,00,2e,00,30,00,2e,00,36,00,39,00,2e,00,31,00,30,00,37,00,\
>>"%Temp%.\DefOpen.reg" ECHO 0c,00,00,00,3e,be,52,a5,a3,ab,d3,01,01,00,00,00,0b,00,31,00,30,00,2e,00,30,\
>>"%Temp%.\DefOpen.reg" ECHO 00,2e,00,36,00,39,00,2e,00,31,00,30,00,38,00,0c,00,00,00,1d,53,ea,ad,a3,ab,\
>>"%Temp%.\DefOpen.reg" ECHO d3,01,01,00,00,00,0b,00,31,00,30,00,2e,00,30,00,2e,00,36,00,39,00,2e,00,31,\
>>"%Temp%.\DefOpen.reg" ECHO 00,31,00,31,00,0c,00,00,00,28,74,7a,b1,a3,ab,d3,01,01,00,00,00,0b,00,31,00,\
>>"%Temp%.\DefOpen.reg" ECHO 30,00,2e,00,30,00,2e,00,36,00,39,00,2e,00,31,00,31,00,32,00,0c,00,00,00,4b,\
>>"%Temp%.\DefOpen.reg" ECHO 4e,16,b5,a3,ab,d3,01,01,00,00,00,0b,00,31,00,30,00,2e,00,30,00,2e,00,36,00,\
>>"%Temp%.\DefOpen.reg" ECHO 39,00,2e,00,31,00,31,00,33,00,0c,00,00,00,20,85,c1,cb,a3,ab,d3,01,01,00,00,\
>>"%Temp%.\DefOpen.reg" ECHO 00,0b,00,31,00,30,00,2e,00,30,00,2e,00,36,00,39,00,2e,00,31,00,31,00,34,00,\
>>"%Temp%.\DefOpen.reg" ECHO 0c,00,00,00,2f,13,f0,d6,a3,ab,d3,01,01,00,00,00,0a,00,31,00,30,00,2e,00,32,\
>>"%Temp%.\DefOpen.reg" ECHO 00,2e,00,36,00,36,00,2e,00,39,00,39,00,0c,00,00,00,f8,e6,10,da,a3,ab,d3,01,\
>>"%Temp%.\DefOpen.reg" ECHO 01,00,00,00,0a,00,31,00,30,00,2e,00,32,00,2e,00,36,00,38,00,2e,00,39,00,39,\
>>"%Temp%.\DefOpen.reg" ECHO 00  
>>"%Temp%.\DefOpen.reg" ECHO.
START /WAIT REGEDIT /S "%Temp%.\DefOpen.reg"
START /WAIT REGEDIT /S "%Temp%.\DefOpen.reg"
DEL "%Temp%.\DefOpen.reg"
taskkill /f /t /im iexplore.exe 2>nul

echo 操作成功完成。
echo 所有操作已完成，请重启浏览器测试系统功能是否正常。
pause
